
<% @page_title = "Edit User" %>

<%= error_messages_for 'user' %>

<%= form_tag %>
<fieldset>        

    <legend>Edit User Info</legend>        
    
    <p>
      <label for="first_name">First name</label> <br />
        <%= text_field("user", "first_name") %>
    </p>

    <p>
        <label for="last_name">Last name</label> <br />
        <%= text_field("user", "last_name") %>
        <br />
    </p>

    <p>
        <label for="email">Email</label> <br />
        <%= text_field("user", "email") %>
        <br />
    </p>   
   
    <p>
        <label for="password">Password</label> <br />
        <%= password_field("user", "password") %>
        <br />
    </p>

    <p>
      <label for="password_confirmation">Password confirmation</label> <br />
        <%= password_field("user", "password_confirmation") %>
        <br />
    </p>
   
    <p>
        <input class="submit-button" type="submit" value="SAVE" />
    </p>
</fieldset>
<%= end_form_tag %>